package com.kingtsoft.study.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


public class StudyHomework extends StudyHomeworkModel implements Serializable{
    /**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;
	/**
     * 主键
     */
    private String id;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;
    /**
     * 创建人
     */
    private String userId;
    /**
     * 发布日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishDate;
    /**
     * 截止日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deadlineDate;
    /**
     * 发布状态：0：未发布（草稿状态）、1：已发布
     */
    private String publishStatus;

    private String remark;

    /**
     * 文件名称(不包含后缀)
     */
    private String filename;

    /**
     * 文件大小
     */
    private BigDecimal fileSize;

    /**
     * 文件后缀(不包括间隔符".")
     */
    private String suffix;

    /**
     * 文件相对路径
     */
    private String path;

    /**
     * 老师主键
     */
    private String teacherId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    public StudyHomework(String id, Date createDate, Date updateDate, String userId, Date publishDate, Date deadlineDate, String publishStatus, String remark, String filename, BigDecimal fileSize, String suffix, String path, String teacherId, String title, String content) {
        this.id = id;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.userId = userId;
        this.publishDate = publishDate;
        this.deadlineDate = deadlineDate;
        this.publishStatus = publishStatus;
        this.remark = remark;
        this.filename = filename;
        this.fileSize = fileSize;
        this.suffix = suffix;
        this.path = path;
        this.teacherId = teacherId;
        this.title = title;
        this.content = content;
    }

    public StudyHomework() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public Date getDeadlineDate() {
        return deadlineDate;
    }

    public void setDeadlineDate(Date deadlineDate) {
        this.deadlineDate = deadlineDate;
    }

    public String getPublishStatus() {
        return publishStatus;
    }

    public void setPublishStatus(String publishStatus) {
        this.publishStatus = publishStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public BigDecimal getFileSize() {
        return fileSize;
    }

    public void setFileSize(BigDecimal fileSize) {
        this.fileSize = fileSize;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
